how to override default name for apiresourc route in laravel

107

how to override default name for apiresourc route in laravel -

Route::resource('photo', 'PhotoController', ['parameters' => [
    'photo' => 'user_photo'
]]);

Comments

Submit
0 Comments